package com.study.a09threadsafe2;

import com.study.a08threadsafe.MyThread;

public class ThreadDemo {
    public static void main(String[] args) {

        MyRunnadble mr=new MyRunnadble();

        Thread t1=new Thread(mr,"窗口1");
        Thread t2=new Thread(mr,"窗口2");
        Thread t3=new Thread(mr,"窗口3");

        t1.start();
        t2.start();
        t3.start();

    }
}
